<?php
include_once("inc/conn.php");

        $SYS_CODE="delete from PRINTS where id=$IDD";
		 msquery($msconn,$SYS_CODE);
		 $OLDFILE = dirname($_SERVER['SCRIPT_FILENAME']) . "\\grf\\" .$report;
		 unlink($OLDFILE);
		 $url="PrintMANAGER.php?report=$report&KEY=$KEY&DJTYPE=$DJTYPE";
echo "<SCRIPT LANGUAGE='JavaScript'>";
echo "location.href='$url'";
echo "</SCRIPT>";
?>
